package com.examiner.service;

import com.examiner.bean.Examiner;
import com.examiner.page.QueryInfo;

import java.util.List;

public interface ExaminerService {
    Examiner hasUserName(String userName);

    Boolean existById(Integer id);

    Examiner saveExaminer(Examiner examiner);

    Examiner findOne(Integer managerId);

    Boolean updateManagerPassword(Integer id, String encodePsw);

    List<Examiner> getExaminerList(QueryInfo queryInfo);

    void deleteManager(Integer id);

    int getTotal(String query);

    List<Examiner> getExaminerListByQuery(String query);
}
